{extend name="../../admin/view/main"}

{block name="button"}
<button type="button" data-reload class="layui-btn layui-btn-sm" style="font-size: 14px;">页面刷新</button>
{/block}

{block name="content"}
<div class="layui-tab layui-tab-card think-bg-white">
    <div class="layui-tab-content table-block">
        {include file='profit/index_search'}
        <table class="layui-table" lay-skin="line">
            {notempty name='list'}
            <thead>
            <tr>
                <th class='list-table-check-td think-checkbox'>
                    <label><input data-auto-none data-check-target='.list-check-box' type='checkbox'></label>
                </th>
                <th class='text-left'>日期</th>
                <th class='text-left'>新增用户</th>
                <th class='text-left'>累计收益</th>
                <th class='text-left'>ARPPU</th>
                <th class='text-left'>付费率</th>
                <th class='text-left'>Day0</th>
                <th class="text-left">Day1</th>
                <th class="text-left">Day2</th>
                <th class="text-left">Day3</th>
                <th class="text-left">Day4</th>
                <th class="text-left">Day5</th>
                <th class="text-left">Day6</th>
                <th class="text-left">Day7</th>
                <th class="text-left">Day8</th>
                <th class="text-left">Day9</th>
                <th class="text-left">Day10</th>
                <th class="text-left">Day11</th>
                <th class="text-left">Day12</th>
                <th class="text-left">Day13</th>
                <th class="text-left">Day14</th>
                <th></th>
            </tr>
            </thead>
            {/notempty}
            <tbody>
            {foreach $list as $key=>$vo}
            <tr>
                <td class='list-table-check-td think-checkbox'>
                    <label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label>
                </td>
                <td class='text-left '>{$vo.day|default=''}</td>
                <td class='text-left '>{$vo.new_user_count|default='0'}</td>
                <td class='text-left '>{$vo.all_profit|default='0'}</td>
                <td class='text-left '>{$vo.ARPPU|default='0'}</td>
                <td class='text-left '>{$vo.ffl|default='0'}</td>
                <td class='text-left '>{$vo.day0|default='0'}</td>
                <td class='text-left '>{$vo.day1|default='0'}</td>
                <td class='text-left '>{$vo.day2|default='0'}</td>
                <td class='text-left '>{$vo.day3|default='0'}</td>
                <td class='text-left '>{$vo.day4|default='0'}</td>
                <td class='text-left '>{$vo.day5|default='0'}</td>
                <td class='text-left '>{$vo.day6|default='0'}</td>
                <td class='text-left '>{$vo.day7|default='0'}</td>
                <td class='text-left '>{$vo.day8|default='0'}</td>
                <td class='text-left '>{$vo.day9|default='0'}</td>
                <td class='text-left '>{$vo.day10|default='0'}</td>
                <td class='text-left '>{$vo.day11|default='0'}</td>
                <td class='text-left '>{$vo.day12|default='0'}</td>
                <td class='text-left '>{$vo.day13|default='0'}</td>
                <td class='text-left '>{$vo.day14|default='0'}</td>
            </tr>
            {/foreach}
            </tbody>
        </table>
        <div style="margin-top: -5px;">{empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
        </div>
    </div>
</div>
{/block}